#! /bin/sh

echo "running $(realpath $0)"

mount -t proc proc /proc				2> /dev/null
mount -t sysfs sysfs /sys				2> /dev/null

echo /sbin/mdev > /proc/sys/kernel/hotplug
# sysctl -w kernel.hotplug=/sbin/mdev
mdev -s

mkdir -p /dev/pts
mount -t devpts devpts /dev/pts/		2> /dev/null

